package com.todo.strategy.online.application.service.pipeline;

/**
 * @author azhebuxing
 * @date 2025/3/1 16:06
 * @description
 */
public interface PStrategyPipelineService {

    /**
     * 插入策略详情
     *
     * @param businessId
     * @param originData
     * @return
     */
    Boolean insertPStrategyDetail(Long businessId, String originData);

    /**
     * 更新策略详情
     *
     * @param businessId
     * @param originData
     * @return
     */
    Boolean updatePStrategyDetail(Long businessId, String originData);

    /**
     * 移除策略详情
     *
     * @param businessId
     * @return
     */
    Boolean removePStrategyDetail(Long businessId);

    /**
     * 启/禁用策略详情
     *
     * @param businessId
     * @param originData
     * @return
     */
    Boolean enablePStrategyDetail(Long businessId, String originData);
}
